package com.suxin.notify.listener;

import com.suxin.notify.Event;

import java.util.List;

/**
 * @author Tang
 * @classname SmartSubscriber
 * @description [  ]
 * @date 2022/10/1 17:03
 */
public abstract class SmartSubscriber extends Subscriber{

    public abstract List<Class<? extends Event>> subscribeTypes();

    @Override
    public Class<? extends Event> subscribeType() {
        return null;
    }

    @Override
    public boolean ignoreExpireEvent() {
        return false;
    }
}
